package com.zqh.myfmmall.clients;

import com.zqh.myfmmall.fallback.IndexQueryClientFallback;
import com.zqh.myfmmall.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description :
 * @Author :kono淇杭哒、
 * @Create 2022-03-15 13:00
 */
@FeignClient(value = "indeximg-query",fallbackFactory = IndexQueryClientFallback.class)
public interface IndexImgQueryClient{
    @GetMapping("indeximg/retrieveCurrent")
    Result retrieveCurrent();
}
